package com.ktjy.ch15.service;

import com.ktjy.ch15.entity.MeetinGroom;
import com.ktjy.ch15.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface MeetinGroomService {

    public Page<MeetinGroom> findPage(MeetinGroom meetinGroom, Integer pageNo, Integer pageSize);

    public boolean save(MeetinGroom meetinGroom);

    public MeetinGroom findById(Long id);

    public boolean update(MeetinGroom meetinGroom);

    public boolean delete(Long id);

    public MeetinGroom findByName(@Param("name") String name);
}
